package cn.stylefeng.guns.modular.order.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.order.entity.WhOutOrderDetailed;
import cn.stylefeng.guns.modular.order.model.params.WhOutOrderDetailedParam;
import cn.stylefeng.guns.modular.order.model.result.WhOutOrderDetailedResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 武汉出库订单明细表 服务类
 * </p>
 *
 * @author wp
 * @since 2025-09-30
 */
public interface WhOutOrderDetailedService extends IService<WhOutOrderDetailed> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-09-30
     */
    void add(WhOutOrderDetailedParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-09-30
     */
    void delete(WhOutOrderDetailedParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-09-30
     */
    void update(WhOutOrderDetailedParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-09-30
     */
    WhOutOrderDetailedResult findBySpec(WhOutOrderDetailedParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-09-30
     */
    List<WhOutOrderDetailedResult> findListBySpec(WhOutOrderDetailedParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-09-30
     */
     LayuiPageInfo findPageBySpec(WhOutOrderDetailedParam param,String condition);

    void saveBatchList(List<WhOutOrderDetailedParam> list);
}
